Platform Explorer / Nuxeo Platform 5.8

Extension point presets

Documentation

Extension Point for registering Presets.

Presets are stored in Palettes.

The XML syntax is:

    <palette category="category" name="palette name" src="palette source"/>

where: - 'name' is the name of the Palette. - 'src' is the source of the Palette (String) - 'category' is the palette category (optional)

Supported palette types are:

- *.properties (Properties file) - *.aco (Photoshop color palettes) - *.gpl (Gimp palettes)

Contribution Descriptors

  • Class: org.nuxeo.theme.presets.PaletteType

Existing Contributions

Contributions are presented in the same order as the registration order on this extension point. This order is displayed before the contribution name, in brackets.

  • nuxeo-webengine-sites-5.8.jar
    <extension point="presets" target="org.nuxeo.theme.services.ThemeService">
        <palette category="border" name="Sites borders" src="themes/palettes/sites-borders.properties"/>
        <palette category="background" name="Sites backgrounds" src="themes/palettes/sites-backgrounds.properties"/>
        <palette category="font" name="Sites fonts" src="themes/palettes/sites-fonts.properties"/>
      </extension>
  • nuxeo-webengine-blogs-5.8.jar
    <extension point="presets" target="org.nuxeo.theme.services.ThemeService">
        <palette category="border" name="Sites borders" src="themes/palettes/sites-borders.properties"/>
        <palette category="background" name="Sites backgrounds" src="themes/palettes/sites-backgrounds.properties"/>
        <palette category="font" name="Sites fonts" src="themes/palettes/sites-fonts.properties"/>
      </extension>